export const companyPerformanceAnalysisMixin = {
  data () {
    return{
      temp: {}
    }
   },
  methods: {
    mergeCellKey(text, array, columns){
      let i = 0;
      if (text !== this.temp[columns]) {
        this.temp[columns] = text
        array.forEach((item) => {
          if (item[columns] === this.temp[columns]) {
            i += 1
          }
        })
      }
      return i
     }
  }
}